home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 - Inside Community Club / Acrobat Pro 6 D.bin / installer / Data1.cab / ImageConversion.api / EXVW / 403 < prev   
Encoding:
Text File  |  2003-05-15  |  3.4 KB  |  88 lines

  1. gWidth = max(
  2.     zstring_width(zstring: '$$$IDS_OUTPUT_COLOR_POLICY_DISCARD'),
  3.     zstring_width(zstring: '$$$IDS_OUTPUT_COLOR_POLICY_EMBED'),
  4.     zstring_width(zstring: '$$$IDS_OUTPUT_COLOR_POLICY_ASK'),
  5.     zstring_width(zstring: '$$$IDS_NOT_APPLICABLE'),
  6.     zstring_width(zstring: '$$$IDS_COMPRESSION_JP2K_LOW'),
  7.     zstring_width(zstring: '$$$IDS_COMPRESSION_JP2K_MEDIUM_LOW'),
  8.     zstring_width(zstring: '$$$IDS_COMPRESSION_JP2K_MEDIUM'),
  9.     zstring_width(zstring: '$$$IDS_COMPRESSION_JP2K_MEDIUM_HIGH'),
  10.     zstring_width(zstring: '$$$IDS_COMPRESSION_JP2K_HIGH'));
  11.  
  12. gLabelWidth = max(
  13.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Rgb'),
  14.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Cmyk'),
  15.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Gray'),
  16.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Other'),
  17.     zstring_width(zstring: '$$$/Dialogs/Jp2kOptions/Compression/Gray'),
  18.     zstring_width(zstring: '$$$/Dialogs/Jp2kOptions/Compression/Color'),
  19.     zstring_width(zstring: '$$$/Dialogs/Jp2kOptions/Format'));
  20.  
  21. dialog(name: '$$$/Dialogs/Jp2kOptionsExtract')
  22. {
  23.     view(align_children: align_left, alignment: align_fill)
  24.     {
  25.         cluster(name: '$$$/Dialogs/Batch/Destination', align_children: align_left)
  26.         {
  27.             view(align_children: align_row, alignment: align_fill)
  28.             {
  29.                 static_text(item_id: 'desc', name: '$$$/EmptyString= ', alignment: align_fill);
  30.                 button(item_id: 'dest', name: '$$$/Dialogs/Batch/Choose');
  31.             }
  32.             check_box(item_id: 'dont', name: '$$$/Dialogs/Batch/DontOverwrite');
  33.         }
  34.  
  35.         cluster(name: '$$$/Dialogs/SaveAs/Settings', align_children: align_left)
  36.         {
  37.             view(align_children: align_row)
  38.             {
  39.                 static_text(name: '$$$/Dialogs/Jp2kOptions/Compression/Gray', width: gLabelWidth, alignment: align_right);
  40.                 popup(item_id: 'gray', width: gWidth);
  41.             }
  42.             view(align_children: align_row)
  43.             {
  44.                 static_text(name: '$$$/Dialogs/Jp2kOptions/Compression/Color', width: gLabelWidth, alignment: align_right);
  45.                 popup(item_id: 'colr', width: gWidth);
  46.             }
  47.         }
  48.         
  49.         cluster(name: '$$$/Dialogs/SaveAs/ColorManagement', align_children: align_left)
  50.         {
  51.             view(align_children: align_right)
  52.             {
  53.                 view(align_children: align_row)
  54.                 {
  55.                     static_text(item_id: 'cmrL', name: '$$$/Dialogs/SaveAs/ColorManagement/Rgb', width: gLabelWidth, alignment: align_right);
  56.                     popup(item_id: 'cmrC', width: gWidth);
  57.                 }
  58.                 view(align_children: align_row)
  59.                 {
  60.                     static_text(item_id: 'cmcL', name: '$$$/Dialogs/SaveAs/ColorManagement/Cmyk', width: gLabelWidth, alignment: align_right);
  61.                     popup(item_id: 'cmcC', width: gWidth);
  62.                 }
  63.                 view(align_children: align_row)
  64.                 {
  65.                     static_text(item_id: 'cmgL', name: '$$$/Dialogs/SaveAs/ColorManagement/Gray', width: gLabelWidth, alignment: align_right);
  66.                     popup(item_id: 'cmgC', width: gWidth);
  67.                 }
  68.                 view(align_children: align_row)
  69.                 {
  70.                     static_text(item_id: 'cmoL', name: '$$$/Dialogs/SaveAs/ColorManagement/Other', width: gLabelWidth, alignment: align_right);
  71.                     popup(item_id: 'cmoC', width: gWidth);
  72.                 }
  73.             }
  74.         }
  75.  
  76.         cluster(name: '$$$/Dialogs/Extract/Settings', align_children: align_right)
  77.         {
  78.             view(align_children: align_row)
  79.             {
  80.                 static_text(name: '$$$/Dialogs/Extract/Settings/Threshold');
  81.                 popup(item_id: 'trsh', width: 12 * max_char_width());
  82.             }
  83.         }
  84.  
  85.         ok_cancel();
  86.     }
  87. }
  88.